const sysMediaTrustDomainsApi = new class SysMediaTrustDomainsApi extends BaseApi {
    constructor() {
        super({
            url: '/api/sysMediaTrustDomains',
            exp: true,
            imp: true
        })
    }

    async deleteByDomain(domain) {
        return (await rxajax.get(super.using(`/deleteByDomain/${domain}`))).data.data
    }

    async deleteBatchDomains(domainList) {
        return (await rxajax.post(super.using(`/delete/batchDomains`), domainList, {
            type: 'json',
        })).data.data
    }

    /*async getExcelTemplate() {
        return (await rxajax.get(super.using(`/getExcelTemplate`))).data.data
    }*/
}